package com.example.musicdemo.service

import com.example.musicdemo.model.Music

interface IService {
    fun updatePlayState()
    fun isPlaying():Boolean?
    fun getDuration():Int
    fun getProgress():Int
    fun seekTo(p1:Int)
    fun updatePlayMode()
    fun playPre()
    fun playNext()
    fun getPlayList():List<Music>?
    fun playPosition(position:Int)
    fun getPlayMode(): Int
}